Package com.cisco.pt.ipc.sim.impl
Class L2NatInstanceImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.L2NatInstanceImpl
- All Implemented Interfaces:
IPCObject,L2NatInstance
Information provided by the PKI file:
\class CL2NatInstance
\brief Data element for CL2NatInstance.
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionL2NatInstanceImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionintInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:voidsetInstanceName(String instanceName) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
L2NatInstanceImpl
public L2NatInstanceImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getInstanceName
Information provided by the PKI file:
\brief Returns the instance name. \return string, value is the instance name.- Specified by:
getInstanceNamein interfaceL2NatInstance- Returns:
- String Returns a String
-
setInstanceName
Information provided by the PKI file:
\brief Sets the instance name to the given name. \param instanceName, the name to use for the instance.- Specified by:
setInstanceNamein interfaceL2NatInstance- Parameters:
instanceName- Takes in a parameter of instanceName
-
getInstanceId
public int getInstanceId()Information provided by the PKI file:
\brief Returns the instance ID. \return int, value is the instance ID.- Specified by:
getInstanceIdin interfaceL2NatInstance- Returns:
- int Returns a int
-
getNatTable
Information provided by the PKI file:
\brief Returns the nat table. \return L2NatTable, value is the nat table.- Specified by:
getNatTablein interfaceL2NatInstance- Returns:
- L2NatTable Returns a L2NatTable
-
getStatementsCount
public int getStatementsCount()Information provided by the PKI file:
\brief Returns the statement count. \return int, value is the statement count.- Specified by:
getStatementsCountin interfaceL2NatInstance- Returns:
- int Returns a int
-